package com.boot;

import com.dao.MemberDao;
import com.dao.impl.MongoDBDaoImpl;
import com.entity.Member;
import com.entity.MongoDBDocument;
import com.service.MemberService;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

import javax.annotation.Resource;
import java.util.List;

@SpringBootTest
class BootApplicationTest2s {

    MemberService memberService;
    @Test
   public void testMd5add() throws Exception {
        Member member = new Member();
        member.setMno("39070101");
        member.setMpwd("123");
        member.setMpwd("王刘");
        memberService.add(member);
    }

}
